/*
package com.example.springexercise.demos.TestDemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    //localhost:8080/hello
    @GetMapping("/hello")
    public String hello(){
        return "hellozzz";
    }

    @RequestMapping(value = "/postTest1",method = RequestMethod.POST)
    public String postTest1(String username,String password){
        System.out.println("username"+username);
        System.out.println("password"+password);
        return "post请求";

    }

}
*/
